package com.hnhcyy.goods.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 商品扩展属性
 */
public class GoodsExtend implements Serializable{
	
	private static final long serialVersionUID = -8543018463792459472L;
	/**
	 * 商家ID
	 */
	@JsonInclude(Include.NON_NULL)
	private Integer sjid;	
	/**
	 * 商品ID
	 */
	@JsonInclude(Include.NON_NULL)
	private String spid;
	/**
	 * 是否显示
	 */
	@JsonInclude(Include.NON_NULL)
	private Boolean isvisible;		
	/**
	 * 销售区域
	 */
	@JsonInclude(Include.NON_NULL)
	private String xsqy;	
	/**
	 * 显示顺序
	 */
	@JsonInclude(Include.NON_NULL)
	private Integer findex;
	/**
	 * 热销指数
	 */
	@JsonInclude(Include.NON_NULL)
	private Integer hotsell;	
	/**
	 * 更新时间	
	 */
	@JsonInclude(Include.NON_NULL)
	private Date fupdatetime;
	
	/**
	 * 新品的起始时间
	 */
	@JsonInclude(Include.NON_NULL)
	private Date newStarttime;
	/**
	 * 新品的结束时间
	 */
	@JsonInclude(Include.NON_NULL)
	private Date newEndtime;
	/**
	 *  毛利率
	 */
	@JsonInclude(Include.NON_NULL)
	private Double grossMargin;
	/**
	 * 毛利
	 */
	@JsonInclude(Include.NON_NULL)
	private Double grossProfit;	
	/**
	 * 是否即将涨价
	 */
	@JsonInclude(Include.NON_NULL)
	private Boolean isRisePrice;
	
	/**
	 * 同步时间
	 */
	@JsonInclude(Include.NON_NULL)
	private Date fsynctime;
	
	public Integer getSjid() {
		return sjid;
	}
	public void setSjid(Integer sjid) {
		this.sjid = sjid;
	}
	public String getSpid() {
		return spid;
	}
	public void setSpid(String spid) {
		this.spid = spid;
	}
	public Boolean getIsvisible() {
		return isvisible;
	}
	public void setIsvisible(Boolean isvisible) {
		this.isvisible = isvisible;
	}
	public String getXsqy() {
		return xsqy;
	}
	public void setXsqy(String xsqy) {
		this.xsqy = xsqy;
	}
	public Integer getFindex() {
		return findex;
	}
	public void setFindex(Integer findex) {
		this.findex = findex;
	}
	public Integer getHotsell() {
		return hotsell;
	}
	public void setHotsell(Integer hotsell) {
		this.hotsell = hotsell;
	}
	public Date getFupdatetime() {
		return fupdatetime;
	}
	public void setFupdatetime(Date fupdatetime) {
		this.fupdatetime = fupdatetime;
	}
	public Date getNewStarttime() {
		return newStarttime;
	}
	public void setNewStarttime(Date newStarttime) {
		this.newStarttime = newStarttime;
	}
	public Date getNewEndtime() {
		return newEndtime;
	}
	public void setNewEndtime(Date newEndtime) {
		this.newEndtime = newEndtime;
	}
	public Double getGrossMargin() {
		return grossMargin;
	}
	public void setGrossMargin(Double grossMargin) {
		this.grossMargin = grossMargin;
	}
	public Double getGrossProfit() {
		return grossProfit;
	}
	public void setGrossProfit(Double grossProfit) {
		this.grossProfit = grossProfit;
	}
	public Boolean getIsRisePrice() {
		return isRisePrice;
	}
	public void setIsRisePrice(Boolean isRisePrice) {
		this.isRisePrice = isRisePrice;
	}
	public Date getFsynctime() {
		return fsynctime;
	}
	public void setFsynctime(Date fsynctime) {
		this.fsynctime = fsynctime;
	}
	@Override
	public String toString() {
		return "GoodsExtend [sjid=" + sjid + ", spid=" + spid + ", isvisible=" + isvisible + ", xsqy=" + xsqy
				+ ", findex=" + findex + ", hotsell=" + hotsell + ", fupdatetime=" + fupdatetime + ", newStarttime="
				+ newStarttime + ", newEndtime=" + newEndtime + ", grossMargin=" + grossMargin + ", grossProfit="
				+ grossProfit + ", isRisePrice=" + isRisePrice + ", fsynctime=" + fsynctime + "]";
	}
	
	
	
}
